{include file=header.html}
<body>
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<style type="text/css">
.page{float:right;}
</style>
<div class="sub-body">
<div class="tab_info" style="width:900px;">
<div class="tab-title-1">
<span>{$lang.consumer_schedule}</span>
</div>
<table width="100%" cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
      <tr>
		<td colspan="2" align="right" style="padding-right:20px;"><a href="{url index.php?app=schedule&act=add}" class="add btn-2">添加进度</a></td>
	  </tr>
      <tr>
        <th width="20%">{$lang.consumer_name}</th>
        <th width="80%">{$lang.consumer_schedule}</th>
      </tr>
	  <!--{foreach from=$schedule_list item=schedule}-->
       <tr>
        <td><a href="{url app=schedule&act=all_schedule&uid=$schedule.user_id}">{$schedule.user_name}</a></td>
		<td valign="top">
			<table width="100%" cellspacing="0" cellpadding="0">
           		<tr>
           			<th width="20%">跟进日期</th>
           			<th width="80%">标题</th>
           		</tr>
           		<!-- {foreach from=$schedule.schedule_info item=info} -->
           		<tr>
           			<td>{$info.schedule_date|date}</td>
           			<td><a href="{url app=schedule&act=show&id=$info.schedule_id}">{$info.schedule_title|escape}</a></td>
           		</tr>
           		<!-- {/foreach} -->
           	</table>
		</td>
      </tr>
	  <!--{/foreach}-->
    </table>
    <div class="page"> {include file=page.html}</div>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div>
</div>
</body>
</html>